﻿using MicroCloud.Mapping;

namespace Vinno.Brand.Pack.Core.Dtos
{
    [MapTo(typeof(Suggest))]
    public class SuggestInputDto : IInputDto<Guid>
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 区域代码
        /// </summary>
        public string AreaCode { get; set; }

        /// <summary>
        /// 地区名称
        /// </summary>
        public string AreaCity { get; set; }

        /// <summary>
        /// 公司/单位
        /// </summary>
        public string Company { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string Position { get; set; }

        /// <summary>
        /// 感兴趣的产品
        /// </summary>
        public ProductType? Type { get; set; }

        /// <summary>
        /// 其他需求
        /// </summary>
        public string Requirement { get; set; }

        /// <summary>
        /// 获取或设置 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

    }

    [MapFrom(typeof(Suggest))]
    public class SuggestOutputDto : IOutputDto
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 区域代码
        /// </summary>
        public string AreaCode { get; set; }

        /// <summary>
        /// 地区名称
        /// </summary>
        public string AreaCity { get; set; }

        /// <summary>
        /// 公司/单位
        /// </summary>
        public string Company { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string Position { get; set; }

        /// <summary>
        /// 感兴趣的产品
        /// </summary>
        public ProductType? Type { get; set; }

        /// <summary>
        /// 其他需求
        /// </summary>
        public string Requirement { get; set; }

        /// <summary>
        /// 获取或设置 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }
    }
}